package com.myapplication.ui.showfragment;

import com.myapplication.bean.ShaiwuBean;
import com.myapplication.config.HUrlConfig;
import com.myapplication.http.HttpUtils;

import java.util.Map;

import retrofit2.Callback;

/**
 * Created by zitaojiang on 2016/10/6.
 */
public class Model_Show implements Contract_Show.Model{
    @Override
    public void getData(Map<String, String> params, Callback<ShaiwuBean> callback) {
        HttpUtils.getSingletion().getShaiWuData(HUrlConfig.Path.SHAIWU_BASEURL,params,callback);
    }

    @Override
    public void getMoreData(Map<String, String> params2, Callback<ShaiwuBean> callback) {
        HttpUtils.getSingletion().getShaiWuData(HUrlConfig.Path.SHAIWU_BASEURL,params2,callback);
    }
}
